package yl.hs.bmipfull.daos.finance;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import yl.hs.bmipfull.daos.BaseDao;
import yl.hs.bmipfull.pojo.finance.ReceiptFreightSettleDetailEntity;
import yl.hs.bmipfull.pojo.material.PurchaseReceiptEntity;

import java.util.Date;
import java.util.List;


@Repository
public interface IPurchaseReceiptFreightSettleDetailDao extends BaseDao<ReceiptFreightSettleDetailEntity> {

    List<ReceiptFreightSettleDetailEntity> queryBySettleSN(@Param("settleSN") String settleSN);

    Integer deleteBySettleSN(@Param("settleSN") String settleSN);

    List<PurchaseReceiptEntity> queryTempDetails(@Param("carrierSn") String carrierSn, @Param("start") Date start, @Param("end") Date end);

}
